inspector: Widgets update automatically when CSS changes
authorBenjamin Otte <otte@redhat.com>
Tue, 8 Mar 2016 00:47:33 +0000 (01:47 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 11 Mar 2016 16:00:41 +0000 (17:00 +0100)
There's no need to force-invalidate their CSS.

gtk/inspector/css-editor.c

index 4e1c40cf70d26c1a2194d75f5fea5270508fdcb2..51d646ba95b470fbf3470b6a1c90f4aba7669250 100644 (file)
@@ -227,8 +227,6 @@ update_style (GtkInspectorCssEditor *ce)
   text = get_current_text (ce->priv->text);
   gtk_css_provider_load_from_data (ce->priv->provider, text, -1, NULL);
   g_free (text);
-
-  gtk_style_context_reset_widgets (gdk_screen_get_default ());
 }
 
 static gboolean